-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Enable Auth Observability Metrics #509
Conversation
* Add getVersion functionality. * Add unit test for it.
* With empty metrics headers
1) Simplify token endpoint metrics header getter logic 2) Update documentation 3) Add explaination to the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts for reviewers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made some suggestions in this review, but there were some more involved changes that I'd like to see (namely, simplifying MetricsTrait
) that I have illustrated in #512
Added "Do Not Merge" as we are waiting on @yash30201 to confirm that the metrics are available on the backend as expected. |
Confirmed that metrics are available for Service API token usage on backend and using this PR's version of google-auth-library-php populates the metrics table properly. 🚀 There's still some problem on backend with metrics availability in token endpoint request to cc: @bshaffer |
577799f
to
e71c48e
Compare
go/php-auth-metrics-design-doc
Status